home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Mac Game Programming Gurus / TricksOfTheMacGameProgrammingGurus.iso / More Source / C⁄C++ / Peter's Final Project / README < prev   
Text File  |  1995-05-10  |  3KB  |  71 lines

  1.  Peter's Final Project -- A texture mapping demonstration
  2.  © 1995, Peter Mattis
  3.  
  4.  E-mail:
  5.  petm@soda.csua.berkeley.edu
  6.  
  7.  Snail-mail:
  8.   Peter Mattis
  9.   557 Fort Laramie Dr.
  10.   Sunnyvale, CA 94087
  11.  
  12.  Avaible from:
  13.  http://www.csua.berkeley.edu/~petm/final.html
  14.  
  15.  This program is free software; you can redistribute it and/or modify
  16.  it under the terms of the GNU General Public License as published by
  17.  the Free Software Foundation; either version 2 of the License, or
  18.  (at your option) any later version.
  19.  
  20.  This program is distributed in the hope that it will be useful,
  21.  but WITHOUT ANY WARRANTY; without even the implied warranty of
  22.  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  23.  GNU General Public License for more details.
  24.  
  25.  You should have received a copy of the GNU General Public License
  26.  along with this program; if not, write to the Free Software
  27.  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  28.  
  29.  
  30.  Parts of this project contain code from the Independent JPEG Group's
  31.  software. Specifically, the file "texture.c" uses code from the file
  32.  "example.c" in the libjpeg library distribution. The file also uses
  33.  the libjpeg library.
  34.  
  35. ---------------------------------------------------------------------
  36.  
  37. I decided to release the source to my final project for a class in
  38. computer graphics here at Berkeley. The source is distributed under
  39. the GNU General Public License. What this means for you and me is
  40. that if you have the demo application which is the final project
  41. then you are entitled to the source. If you modify the source and
  42. distribute a modified demo, then you must make the modified source
  43. available.
  44.  
  45. ---------------------------------------------------------------------
  46.  
  47. The demo is a texture mapped maze in which you can move around.
  48.  
  49. Several features:
  50.  - The mazes can be randomnly generated.
  51.  - The view can be any size as long as its square.
  52.  - The maze can be any size.
  53.  - Depth shading.
  54.  - A form of psuedo-Gouraud shading for the textures.
  55.  - Initial support for 3d objects that are Gouraud shaded.
  56.  - Collision detection between objects and walls.
  57.  - Support for 8 and 24 bit color. Though only 8 bit color
  58.    is currently supported on Macs, all the code for 24 bit
  59.    color is present.
  60.  
  61. Several limitations:
  62.  - Does not handle multiple objects correctly.
  63.  - Collision detection only works for the orthogonal worlds
  64.    that can be created from standard square mazes.
  65.    
  66. ---------------------------------------------------------------------
  67.  
  68. My Plea:
  69.  I've freely given away the source code. I expect nothing in return.
  70.  However, its nice to hear comments and criticisms. (Especially if
  71.  there is a <gasp> bug.)